<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 

<%-- <%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>  --%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<HTML>  
<HEAD>
<LINK REL="SHORTCUT ICON" HREF="/MBLCargaWeb/Image/favicon.ico">

<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">	
<META HTTP-EQUIV="Cache-Control" CONTENT="no-store">	
<META HTTP-EQUIV="Cache-Control" CONTENT="must-revalidate">
<META HTTP-EQUIV='Pragma' CONTENT='no-cache'>
<META HTTP-EQUIV='Expires' CONTENT='0'>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM Software Development Platform">
<META http-equiv="Content-Style-Type" content="text/css">
<TITLE>Iniciar Sesi&oacute;n</TITLE>
<LINK rel="stylesheet" type="text/css" href="/MBLCargaWeb/theme/datagrid.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="/MBLCargaWeb/theme/Default.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="/MBLCargaWeb/theme/graph.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="/MBLCargaWeb/theme/IIRGEspacio2.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="/MBLCargaWeb/theme/Master.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="/MBLCargaWeb/theme/stylebbva.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="/MBLCargaWeb/theme/stylesheet.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="/MBLCargaWeb/theme/tabpanel.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="/MBLCargaWeb/theme/tree.css" title="Style">
<script type="text/javascript" src="/MBLCargaWeb/scripts/Redirecciones.js"></script>	
<SCRIPT type="text/javascript">
	function cerrar() {
		var ventana = window.opener.self;
		ventana.opener = window.opener.self;
		ventana.close();
	}
	
	function cerrar_() {
		window.opener.focus();
		window.opener.close();
	}
	
	function cerrar_ok(){	    
		window.opener.open('','_self','');
		window.opener.close();
	}
	
	//cerrar_ok();
	
	function func_1(thisObj, thisEvent) {
		//use 'thisObj' to refer directly to this component instead of keyword 'this'
		//use 'thisEvent' to refer to the event generated instead of keyword 'event'
		var control = document.getElementById("form1:txtUsuario");
		document.getElementById("form1:txtPassword").value="";
		control.value="";		
		control.focus();
		//return true;
	}
	
	function inicio() {
		var control = document.getElementById("form1:txtUsuario");
		
		control.focus();
	}
</SCRIPT>
</HEAD>
<f:view>
	<BODY bgcolor="#c0c0c0" onload="inicio();">
	<!--<h:panelGrid>-->
<%-- 	hx:scriptCollector id="scriptCollector1" --%>
		<h:form styleClass="form" id="form1">
			<div><br />
			<br />
			<br />
			<br />
			<br />
			<table border="1"
				style="border-color: Black; height: 225px; width: 586px;" align="center">
				<tr>
					<td>
					<table style="background-color: #ffffff;">
						<tr>
							<td colspan="6" style="text-align: left"><h:graphicImage
								id="image2" value="Image/bannerBBVA4.png" width="635" height="79"></h:graphicImage></td>
						</tr>
						<tr>
							<td rowspan="1" style="width: 100px; text-align: left"><h:graphicImage
								id="Image1" value="Image/Imagenes/BN001_07.JPG" width="431"
								height="221"></h:graphicImage></td>
							<td colspan="5" valign="middle"><br />
							<br />
							<br />
							<table id="TABLE1">
								<tr align="center">
									<td colspan="5"><h:outputText id="Label2"
										value="Ingreso al Sistema" styleClass="outputText"  style="color:navy;font-weight:bold;"></h:outputText></td>
								</tr>
								<tr>
									<td style="width: 100px; height: 10px"></td>
									<td colspan="3" style="height: 10px"></td>
									<td style="width: 100px; height: 10px"></td>
								</tr>
								<tr align="left">
									<td style="width: 100px"></td>
									<td style="width: 100px; text-align: right"><h:outputText
										id="Label1" value="Usuario:" styleClass="outputText" style="color:navy;font-weight:bold;"></h:outputText></td>
									<td style="width: 16px"></td>
									<td style="width: 100px"><h:inputText id="txtUsuario" size="7" maxlength="20"
										required="false" style="width: 100px" value="#{loginModel.txtUsuario_Text}">											
										</h:inputText>
									</td>
									<td style="width: 100px; text-align: left">
										<h:message id="msgUsuario"  styleClass="messages" for="txtUsuario" showDetail="false" showSummary="true"></h:message>									
									</td>
								</tr>
								<tr align="left">
									<td style="width: 100px"></td>
									<td style="width: 100px; text-align: right"><h:outputText
										id="Label3" value="Clave:" styleClass="outputText" style="color:navy;font-weight:bold;"></h:outputText></td>
									<td style="width: 16px"></td>
									<td style="width: 100px"><h:inputSecret id="txtPassword" maxlength="8"
										size="8" required="false" style="width: 100px" value="#{loginModel.txtPassword_Text}">											
										</h:inputSecret>										
										</td>
									<td style="width: 100px; text-align: left">
										<h:message id="msgPassword"  styleClass="messages" for="txtPassword" showDetail="false" showSummary="true"></h:message>
									</td>
								</tr>
								<tr>
									<td style="width: 100px; height: 11px"></td>
									<td style="width: 100px; height: 11px; text-align: right"></td>
									<td style="width: 16px; height: 11px"></td>
									<td style="width: 100px; height: 11px"></td>
									<td style="width: 100px; height: 11px; text-align: left"></td>
								</tr>
								<tr>

									<td colspan="5" align="center">	
										<h:commandButton type="submit" 
										styleClass="commandExButton" id="imgAceptar" image="Image/Botones/btnAceptarSimple.gif"  action="#{pc_Login.doImgAceptarAction}"></h:commandButton>
										
										<h:graphicImage id="image1" value="Image/Botones/btnCancelarSimple.gif" width="70" height="15" onclick="func_1(this, event);" style="cursor: pointer" />
									</td>
								</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td colspan="6" rowspan="1" style="text-align: left"><h:graphicImage
								styleClass="graphicImageEx" id="imageEx1"
								value="Image/cabecera/bannerBBVA32.jpg" height="38" width="100%"></h:graphicImage>
							</td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			<center>
			  <h:messages styleClass="messages" id="errmessages1" showSummary="false" showDetail="true" layout="table"></h:messages>
			</center>
			</div>
		</h:form>
	<!-- </h:panelGrid>-->
	<%-- </hx:scriptCollector> --%>
	</BODY>
</f:view>
</HTML>
